package com.castle.fortress.admin.study.exam.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.castle.fortress.admin.study.exam.entity.StudyExamStatisticsMemberEntity;
import com.castle.fortress.admin.study.exam.dto.StudyExamStatisticsMemberDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.Map;
import java.util.List;

/**
 * 会员考试记录表 服务类
 *
 * @author castle
 * @since 2023-02-16
 */
public interface StudyExamStatisticsMemberService extends IService<StudyExamStatisticsMemberEntity> {

    /**
     * 分页展示会员考试记录表列表
     * @param page
     * @param studyExamStatisticsMemberDto
     * @return
     */
    IPage<StudyExamStatisticsMemberDto> pageStudyExamStatisticsMember(Page<StudyExamStatisticsMemberDto> page, StudyExamStatisticsMemberDto studyExamStatisticsMemberDto);


    /**
     * 展示会员考试记录表列表
     * @param studyExamStatisticsMemberDto
     * @return
     */
    List<StudyExamStatisticsMemberDto> listStudyExamStatisticsMember(StudyExamStatisticsMemberDto studyExamStatisticsMemberDto);
    /**
     * 保存用户试卷 用于app端
     * @param memberDTO
     * @return
     */
    StudyExamStatisticsMemberDto saveMemberExam(StudyExamStatisticsMemberDto memberDTO);

    /**
     * 获取用户考试试卷详情
     * @param id
     * @return
     */
    StudyExamStatisticsMemberDto queryStatisticeMemberDetail(Long id);

    /**
     * 获取会员考试记录详情 用于app端
     * @param id
     * @return
     */
    StudyExamStatisticsMemberDto queryStatisticeMemberInfo(Long id);

    IPage<StudyExamStatisticsMemberDto> pageStudyExamStatisticsMemberExtends(Page<StudyExamStatisticsMemberDto> page, StudyExamStatisticsMemberDto studyExamStatisticsMemberDto);
}
